package com.bluexmicro.example.page.pick.peripheral.filter

import com.squareup.moshi.JsonClass

@JsonClass(generateAdapter = true)
data class ScanFilterElements(
    var rssiThreshold: Int = -100,//信号大于此值的会被显示出来
    val key: String = "",// mac | name
    var connectable: Boolean = true//可连接的设备会被显示
) {
    override fun toString(): String {
        return "ScanFilterElements(rssiThreshold=$rssiThreshold, key=$key, connectable=$connectable)"
    }
}